
    <c:set var="type" value="odd"/>
    <div class="title_box">Categories</div>
    <ul class="left_menu">
    <c:forEach var="u" items="${requestScope['listeDesCategories']}">
        <c:if test="${type == 'odd'}" >
            <li class="odd"><a href="ServletAction?action=categorie&id=${u.id}">${u.libelle}</a></li>
            <c:set var="type" value="podd"/>
        </c:if>
        <c:if test="${type == 'even'}" >
            <li class="even"><a href="ServletAction?action=categorie&id=${u.id}">${u.libelle}</a></li>
            <c:set var="type" value="peven"/>
        </c:if>
        <c:if test="${type == 'podd'}" >
            <c:set var="type" value="even"/>
        </c:if>
        <c:if test="${type == 'peven'}" >
            <c:set var="type" value="odd"/>
        </c:if>
    </c:forEach>
     </ul>